@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/save" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="suppliers";
		@ var _col=[
		@			  {name:"学校id", index:"s_id", type:"selectDiy",source:"Dict.diyschool",value:pId!,newline:true,length:8,required:"required"},
		@			  {name:"供应商", index:"name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"地址", index:"address", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"编号", index:"code", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"联系人", index:"concat", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"联系方式", index:"tel", type:"text",newline:true,length:8,required:"required"}
		@		   ];
		@ include("/common/_curd/_add.html", {"col":_col, "table":_table}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"新增", btn_close:"关闭"}) {}
	</form>

@}
